package com.yequan.springmvc.handler;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.yequan.springmvc.handler.iface.HttpServletRequestHandler;

public class UserAddHandler implements HttpServletRequestHandler {

	@Override
	public void handleRequest(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		// 响应乱码
		// 响应的内容是如果响应体返回给浏览器
		response.setContentType("text/plain;charset=utf-8");
		response.getWriter().write("后厂村真好！！！UserAddHandler");
	}

}
